﻿
using System.Runtime.Serialization;
namespace QDP.Contracts
{
    /// <summary>表示一个登录身份的对象实例。</summary>
    [DataContract]
    public class Identity
    {
        /// <summary>获取或设置身份的代码。</summary>
        [DataMember]
        public string Code { get; set; }
        /// <summary>获取或设置身份的编号。</summary>
        [DataMember]
        public string ID { get; set; }
        /// <summary>获取或设置身份的标题。</summary>
        [DataMember]
        public string Caption { get; set; }
        /// <summary>获取或设置身份的组织标题。</summary>
        [DataMember]
        public string TeamCaption { get; set; }
    }
}